#$ -S /bin/bash
#$ -l h_vmem=9G
#$ -l tmem=9G
#$ -l h_rt=480:0:0
#$ -cwd
#$ -j y

#Run 600 tasks where each task has a different $SGE_TASK_ID ranging from 1 to 600
#$ -t 1-600

#$ -N W1_R1
date
hostname


#Output the Task ID
echo "Task ID is $SGE_TASK_ID"

/share/apps/matlabR2018b/bin/matlab -nodisplay -nodesktop -nojvm -nosplash -r "main; ID = $SGE_TASK_ID; f_s; exit"

